home *** CD-ROM | disk | FTP | other *** search
/ Aminet 25 / Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso / Aminet / dev / amos / AMOS0398.lzh / AMOSLIST / 000126_amos-request@svcs1.digex.net_Thu Mar 12 20:57:27 1998.msg < prev    next >
Text File  |  1998-04-01  |  4KB  |  105 lines

  1. >From amos-request@svcs1.digex.net  Thu Mar 12 20:57:27 1998
  2. Received: from svcs1.digex.net (svcs1.digex.net [204.91.197.224])
  3.     by pony-2.mail.digex.net (8.8.8/8.8.8) with ESMTP id UAA00421
  4.     for <mcox@access.digex.net>; Thu, 12 Mar 1998 20:57:27 -0500 (EST)
  5. Received: (from daemon@localhost)
  6.     by svcs1.digex.net (8.8.5/8.8.5) id OAA01608
  7.     for amos-out; Thu, 12 Mar 1998 14:52:06 -0500 (EST)
  8. Received: from pony-2.mail.digex.net (pony-2.mail.digex.net [204.91.241.6])
  9.     by svcs1.digex.net (8.8.5/8.8.5) with ESMTP id OAA01601
  10.     for <amos-list@svcs1.digex.net>; Thu, 12 Mar 1998 14:52:05 -0500 (EST)
  11. Received: from mago.agonet.it (mago.agonet.it [195.32.124.10])
  12.     by pony-2.mail.digex.net (8.8.8/8.8.8) with ESMTP id OAA13735
  13.     for <amos-list@access.digex.net>; Thu, 12 Mar 1998 14:52:00 -0500 (EST)
  14. Received: from agonet.it (ghizzo@p126071.agonet.it [195.32.126.71])
  15.     by mago.agonet.it (8.8.5/8.8.5) with SMTP id UAA10080;
  16.     Thu, 12 Mar 1998 20:49:10 +0100
  17. From: Pietro Ghizzoni <ghizzo@agonet.it>
  18. Reply-To: Pietro Ghizzoni <ghizzo@agonet.it>
  19. To: Amos-List <amos-list@access.digex.net>, Jonas Thorell <jonasth@bahnhof.se>
  20. Date: Thu, 12 Mar 1998 20:48:54 +0100
  21. Message-ID: <yam7375.2717.1746953304@mail.agonet.it>
  22. In-Reply-To: <1750.373T1167T7273732@bahnhof.se>
  23. X-Mailer: YAM 1.3.5 - Amiga Mailer by Marcel Beck
  24. Organization: Dairymen Soft
  25. Subject: Re: FD-extension
  26. MIME-Version: 1.0
  27. Content-Type: text/plain
  28. Status: O
  29. X-Status: 
  30.  
  31. On 10-Mar-98, Jonas Thorell wrote: FD-extension
  32.  
  33. >Okay, now for a (perhaps) really silly question:
  34.  
  35. >Can anyone assist me in how to use the combo of the fd-extension and
  36. >identify.library?
  37.  
  38. No problem....
  39.  
  40. >The systemcall is:
  41.  
  42. >identify.library/IdHardware                       
  43. identify.library/IdHardware
  44. >   NAME
  45. >        IdHardware - get information about the system, string (V3)
  46.  
  47. >   SYNOPSIS
  48. >        String = IdHardware(Type,TagList)
  49. >         D0.l               D0.l   A0.l
  50.  
  51. >        STRPTR IdHardware(ULONG, struct TagItem *);
  52.  
  53. >        String = IdHardwareTags(Type,Tag1,...)
  54.  
  55. >        STRPTR IdHardwareTags(ULONG, ULONG,...);
  56.  
  57. >   FUNCTION
  58. >        Gets information about the current system environment. The result
  59. >        is returned as read only string. This function is fully DraCo
  60. >        compatible!
  61.  
  62. >        Once a information has been read, it will be cached internally, so
  63. >        changes will be ignored. Use IdHardwareUpdate() to clear the cache
  64. >        contents.
  65.  
  66. >   INPUTS
  67. >        Type          -- (ULONG) Information type. These types are known:
  68.  
  69. >                IDHW_SYSTEM     -- What system is used?
  70. >                        (e. g. "Amiga 4000")
  71.  
  72.  
  73. Since this function return a pointer to a string, in Amos is:
  74.  
  75. A=Lvo Idhardware(0,0) : AMIGA$=Peek$(A,255,chr$(0))
  76.  
  77. IDHW_SYSTEM=0
  78. TagList = NULL (0)
  79.  
  80.  
  81. if you want the CPU type:
  82.  
  83. A=Lvo Idhardware(1,0) : CPU$=Peek$(A,255,chr$(0))
  84.  
  85. IDHW_CPU=1
  86. TagList = NULL (0)
  87.  
  88. -- 
  89.  
  90.  
  91. Bye!
  92.  
  93.  
  94.                                      !!!
  95.                                      o o
  96.    +-----------------------------oOO-(_)-OOo----------------------------+
  97.    |                                                                    |
  98.    |  Pietro Ghizzoni - Dairymen Soft              __  /// Amiga 12OO   |
  99.    |     E-Mail:  ghizzo@agonet.it                 \\\/// 'O3O  5OMhz   |
  100.    |            Team AMIGA                          \/// 18MB - CD4x    |
  101.    |                                                                    |
  102.    | Amos Professional Team Coordinator               AMIGA RULEZ!!     |
  103.    |                                                                    |
  104.    +--------------------------------------------------------------------+
  105.